<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>模块</title>
</head>
<body>
<script type="module">
    import Person,{sayHello} from "./modules/ats.js";
    let s = sayHello();
    console.log(s);
    let person = new Person('tom',4);
    console.log(person);

</script>
</body>
</html>